using UnityEngine;
using System.Collections;

public class HealthKit : Item
{
    public int m_HealthAmount = 30;

	void Start () 
    {
        spaceMatrix = new bool[3, 3];
        description = "Cura " + m_HealthAmount + "\n de vida al personaje";
        //FillSlots();
	}
    public override void OnDrop()
    {
        base.OnDrop();
    }
    public override void Use()
    {
        if (Player.instance.GetSelectedCharacter().HealCharacter(m_HealthAmount))
        {
            InventoryController.GetInstance().GetActiveInventory().RemoveFromInventory(this);
        }
    }
}
